package com.lanou.service;

import com.lanou.bean.Cost;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/15.
 */
public interface CostService {
    List<Cost> selectAllCost();
    List<Cost> selectAllCost1 ();
    List<Cost> selectAllCost2 ();

    void addCost(Cost cost);
    void startOrStop (int id ,String status,String starTime);
    void deleCost(int id);
    Cost selectCostById (int id);
    void updataCost(int costId, String name, int baseDuration, int baseCost, int unitCost,  String descr, String costType);


}
